home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
rdblib
/
rberrfrm.frm
< prev
next >
Wrap
Text File
|
1995-05-02
|
3KB
|
119 lines
VERSION 2.00
Begin Form RBErrFrm
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Double
Caption = "RDB Error Handler"
ClientHeight = 3225
ClientLeft = 2550
ClientTop = 2490
ClientWidth = 4500
Height = 3630
HelpContextID = 21
Icon = RBERRFRM.FRX:0000
Left = 2490
LinkTopic = "Form2"
MaxButton = 0 'False
ScaleHeight = 3225
ScaleWidth = 4500
Top = 2145
Width = 4620
Begin CommonDialog CMDialog1
HelpFile = "rberror.hlp"
Left = 1740
Top = 1080
End
Begin SSCommand Command3D1
Caption = "Help"
Font3D = 0 'None
Height = 315
Index = 3
Left = 120
TabIndex = 5
Top = 2760
Width = 2115
End
Begin SSCommand Command3D1
Caption = "Ignore"
Font3D = 0 'None
Height = 315
Index = 2
Left = 2940
TabIndex = 4
Top = 2460
Width = 1380
End
Begin SSCommand Command3D1
Caption = "Retry"
Font3D = 0 'None
Height = 315
Index = 1
Left = 1500
TabIndex = 3
Top = 2460
Width = 1440
End
Begin SSCommand Command3D1
Caption = "Abort"
Font3D = 0 'None
Height = 315
Index = 0
Left = 120
TabIndex = 2
Top = 2460
Width = 1380
End
Begin SSCommand Command3D1
Caption = "Create Problem Report"
Font3D = 0 'None
Height = 315
Index = 4
Left = 2220
TabIndex = 1
Top = 2760
Width = 2115
End
Begin TextBox Msg
BackColor = &H00C0C0C0&
Height = 2295
Left = 120
MultiLine = -1 'True
TabIndex = 0
Top = 60
Width = 4215
End
Begin Label SvErr
Caption = "Label1"
Height = 315
Left = 420
TabIndex = 6
Top = 1920
Width = 915
End
End
Sub Command3D1_Click (index As Integer)
RB_Erraction = index
If index < 3 Then
Unload RBErrFrm
End If
If index = 3 Then
If Dir$("rberror.hlp") = "" Then
helploc = Trim(Environ$("windir"))
If Right(helploc, 1) <> "\" Then
helploc = helploc + "\"
End If
CMDialog1.HelpFile = helploc & "rberror.hlp"
End If
CMDialog1.HelpCommand = HELP_KEY
CMDialog1.HelpKey = "Error" & Format$(Val(sverr.Caption), "######")
CMDialog1.Action = 6
End If
If index = 4 Then
RBProbRpt.TxtProblem.Text = Msg.Text
RBProbRpt.WindowState = MAXIMIZED
RBProbRpt.Show MODAL
End If
End Sub